from django.conf.urls import patterns, include, url

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
import settings
urlpatterns = patterns('',
    url(r'^media/(?P<path>.*)$', 'django.views.static.serve',{'document_root': settings.MEDIA_ROOT}),
    url(r'^static/(?P<path>.*)$', 'django.views.static.serve',{'document_root': settings.STATIC_ROOT}),
    url(r'^main/$', 'Main.views.show_main'),
    url(r'^ws/', include('ws.urls')),
    url(r'^sso/', include('sso.urls')),
    url(r'^warehouse/', include('warehouse.urls')),
)
